<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
defined('_JEXEC') or die();
$item = end($this->item);
?>
<style type="text/css">
    .cproject-wrapper .row {
        padding:3px 0 2px 10px;
    }
    .cproject-wrapper .row .title {
        float:left;
        width:25%;
        font-size:100%;
    }
    .cproject-wrapper .row .value {
        float:right;
        width:75%;
        font-weight:bold;
    }

    .content-more .title{
        float:left;
        width:25%;
        font-size:100%;

    }
    .content-more .value{
        width:75%;
    }

    .clearfix:after {
        clear: both;
        content: ".";
        display: block;
        height: 0;
        line-height: 0;
        visibility: hidden;
    }
    .clearfix {
        display: inline-block;
    }
    html[xmlns] .clearfix {
        display: block;
    }
    * html .clearfix {
        height: 1%;
    }
</style>
<div class="cproject-wrapper">

    <div class="cproject-title"><h1><?php echo $item->name; ?></h1></div>
    <div class="item book-item-detail">
        <div class="content">
            <div class="row clearfix">
                <div class="title">Code:</div>
                <div class="value"><?php echo $item->code; ?></div>
            </div>
            <div class="row clearfix">
                <div class="title">Category Name:</div>
                <div class="value"><?php echo $item->catname; ?></div>
            </div>
            <div class="row clearfix">
                <div class="title">Section Name:</div>
                <div class="value"><?php echo $item->secname; ?></div>
            </div>
            <div class="row clearfix">
                <div class="title">Start Date:</div>
                <div class="value"><?php echo $item->start_date; ?></div>
            </div>
            <div class="row clearfix">
                <div class="title">End Date:</div>
                <div class="value"><?php echo $item->end_date; ?></div>
            </div>
            <div class="row clearfix">
                <div class="title">Result:</div>
                <div class="value"><?php echo $item->results; ?></div>
            </div>
        </div>
    </div>

</div>
<div class="vt-back"><a href="#" class="readon" onClick="window.history.back(); return false;">Back</a></div>
